﻿using SocketCore.Network;

namespace SocketCore.Event
{
    internal class MessageEvent
    {
        private Message message;
        private IoSession session;

        public MessageEvent(IoSession session, Message message)
        {
            this.session = session;
            this.message = message;
        }

        public Message Message
        {
            get
            {
                return this.message;
            }
        }

        public IoSession Session
        {
            get
            {
                return this.session;
            }
        }
    }
}
